package com.lhsy.djcloud.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lhsy.djcloud.entity.Department;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
@Data
public class EmployeeDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer tenantId;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 姓名
     */
    private String empName;

    /**
     * 编码
     */
    private String empCode;

    /**
     * 性别 1=男 2=女
     */
    private Integer sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 工作时间
     */
    private LocalDateTime workTime;

    /**
     * 入党时间
     */
    private LocalDateTime partyTime;

    /**
     * 籍贯
     */
    private String nativePlace;

    /**
     * 户口
     */
    private String registeredPlace;

    /**
     * 地址
     */
    private String address;

    /**
     * 部门id
     */
    private Integer deptId;

    private Department department;

    /**
     * 状态 1=启用 0=停用
     */
    private Boolean status;

    /**
     * 密码
     */
    private String password;

    private LocalDateTime createTime;

    private String createName;

    private LocalDateTime updateTime;

    private String updateName;
}
